#include<bits/stdc++.h>

using namespace std;

int main() {
    map<string, int> K;
    K["red"]++;

    K["yellow"]++;
    K["blue"]++;
    K["red"]++;

    for (auto k:K) {
        cout << k.first << " " << k.second << endl;
    }


    return 0;
}